package cn.darkhorse.workorder.service.impl;

import java.util.List;

import cn.darkhorse.workorder.domain.QmsWorkorderLog;
import cn.darkhorse.workorder.domain.QmsWorkorderSampleBalance;
import cn.darkhorse.workorder.mapper.QmsWorkorderLogMapper;
import cn.darkhorse.workorder.service.IQmsWorkorderLogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * 各个步骤完成时间Service业务层处理
 *
 * @author ytq
 * @date 2024-07-22
 */
@Service
public class QmsWorkorderLogServiceImpl extends ServiceImpl<QmsWorkorderLogMapper, QmsWorkorderLog> implements IQmsWorkorderLogService
{

    @Override
    public QmsWorkorderLog getByOrderNumber(String orderNumber) {
        return lambdaQuery().eq(QmsWorkorderLog::getOrderNumber, orderNumber).one();
    }
}
